package org.csu.linkgame.service.ClassForDoubleGame;

import java.io.*;
import java.net.Socket;

public class doubleGameClient2 {
    public static void main(String[] args) throws Exception {

        Socket socket = new Socket("127.0.0.1", 5208);
        System.out.println("恭喜你连接成功!");
        // SocketThread1用来监听客户端发送的数据
        new Thread(new SocketThread1(socket)).start();
        // SocketThread2用来监听服务器返回的数据
        //new Thread(new SocketThread2(socket)).start();

    }
}

